package com.AJava1710D.bingfabao.condiation2.noCondiation;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2020/10/7  10:54
 * 描述:
 */
public class TeRunable1 implements Runnable{

    private String yyy;

    public TeRunable1(String yyy) {
        this.yyy = yyy;
    }

    @Override
    public void run() {
        try {
            synchronized (yyy){
                yyy.wait();
            }
            System.out.println("================000001");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
